package org.bayareadiplomacy.tournamatic.model

class Board(val round: Round, var name: String, newAssignments: Map[Power,Person]) {

	import scala.collection.mutable.Map
	val assignments = Map[Power,Person]()
  
    round.variant.powers.foreach (assignments(_)=null)
    assignments ++ newAssignments
    
	def getPlayerFor(power: Power): Person = assignments(power)

	def isFull = newAssignments.size == round.variant.numberOfPowers
 
	val unassignedPowers: List[Power] = Nil
}
